package com.yh.service.impl;

import com.yh.Dao.IBordDao;
import com.yh.Dao.Impl.BordDaoImpl;
import com.yh.service.RIBordService;
import net.sf.json.JSONArray;

import java.util.List;

public class RBordService implements RIBordService {

    IBordDao ibd=new BordDaoImpl();

    @Override
    public JSONArray getKey(String key) {
        List<String> list =ibd.keyWord(key);
        JSONArray jsonArray=new JSONArray();
        jsonArray.addAll(list);
    return jsonArray;
    }

}




